_csched_cpu_pick(): don't write idle bias more than once
authorJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:19:47 +0000 (17:19 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:19:47 +0000 (17:19 +0000)
commit32084d00161c849be2c812b1d2ef8b2ce0cbd783
tree7d49b33b1fa41d1bb0ef93e6efe3a145e729be17
parent58a83b75d17c4346f0f8f20f9815e00d6f6ed5f1
_csched_cpu_pick(): don't write idle bias more than once

For the bias to be really meaningful, it should be updated only when
the CPU selected will indeed be returned (and hence used for placing
the vCPU in question).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/common/sched_credit.c